package exsun.jt808.data.distribute_data.jt808;

import exsun.jt808.data.distribute_data.DistributeEntity;
import exsun.jt808.data.upload_data.jt808.LatLng;

import java.util.Date;
import java.util.List;

/**
 * 设置多边形区域
 */
public class SetPolygonArea extends DistributeEntity
{
    /**
     * 区域 ID
     */
    private int areaId;
    /**
     * 区域属性
     */
    private AreaProperty areaProperty;
    /**
     * 起始时间
     * 若時間限制無效 则没有该字段
     */
    private Date beginTime;
    /**
     * 结束时间
     * 若時間限制無效 则没有该字段
     */
    private Date endTime;
    /**
     * 最高速度
     * 若速度限制無效 则没有该字段
     */
    private int maxSpeed;
    /**
     * 超速持续时间
     * 若速度限制無效 则没有该字段
     */
    private int overSpeedTime;
    /**
     * 顶点项
     */
    private List<LatLng> latLngs;

    /**
     * 夜间最高速度
     * @return
     */
    private int maxSpeedInNight;

    /**
     * 区域名称
     * @return
     */
    private String areaName;

    public int getAreaId() {
        return areaId;
    }

    public void setAreaId(int areaId) {
        this.areaId = areaId;
    }

    public AreaProperty getAreaProperty() {
        return areaProperty;
    }

    public void setAreaProperty(AreaProperty areaProperty) {
        this.areaProperty = areaProperty;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public int getMaxSpeed() {
        return maxSpeed;
    }

    public void setMaxSpeed(int maxSpeed) {
        this.maxSpeed = maxSpeed;
    }

    public int getOverSpeedTime() {
        return overSpeedTime;
    }

    public void setOverSpeedTime(int overSpeedTime) {
        this.overSpeedTime = overSpeedTime;
    }

    public List<LatLng> getLatLngs() {
        return latLngs;
    }

    public void setLatLngs(List<LatLng> latLng) {
        this.latLngs = latLng;
    }

    public int getMaxSpeedInNight() {
        return maxSpeedInNight;
    }

    public void setMaxSpeedInNight(int maxSpeedInNight) {
        this.maxSpeedInNight = maxSpeedInNight;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }
}
